package com.wander.patterns.act.mediator;

/**
 * @description: 中介者模式
 *
 * @author: zhuyong
 * @create: 2019-09-09 17:00
 **/
public class Client {
    public static void main(String[] args) {
        Mediator mediator = new ConcreteMediator();

        Development development =  new Development(mediator);
        Finance finance =  new Finance(mediator);
        //finance.selfAction();

        development.selfAction();
    }
}
